package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractAllEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 服务表
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_server")
@TableAlias("server")
@ApiModel(value = "BusServer对象", description = "服务表")
public class BusServer extends AbstractAllEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "serverId", type = IdType.ASSIGN_ID)
    private Long serverId;

    @ApiModelProperty(value = "服务名称")
    private String serverName;

    @ApiModelProperty(value = "服务图标")
    private String serverImg;

    @ApiModelProperty(value = "服务类型(1基础服务，2特殊服务)")
    private Integer serverType;

    @ApiModelProperty(value = "服务编码(特殊权益专用（接送机transfer，delayrisk延误保障，integral积分，freedining免费餐饮）)")
    private String serverCode;

    @ApiModelProperty(value = "排序")
    private Integer serverSort;


}
